<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="renderer" content="webkit">
  		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>绘图</title>
		<link rel="stylesheet" type="text/css" href="../static/admin/layui/css/layui.css"/>
		<link rel="stylesheet" type="text/css" href="../static/admin/css/admin.css"/>
	</head>
	<body>
		<div class="main-layout" id='main-layout'>
			<!--侧边栏-->
			<div class="main-layout-side">

				<ul class="layui-nav layui-nav-tree" lay-filter="leftNav">
					<li class="layui-nav-item">
						<a href="javascript:;" onclick="createDraw()"  data-id='9' data-text="创建"><span class="l-line"></span>创建</a>
					</li>
					<li class="layui-nav-item">
						<a href="javascript:;" onclick="logout()" data-text="退出"><span class="l-line"></span>退出</a>
					</li>
				</ul>
			</div>
			<!--内容-->
			<div class="main-layout-container">
				<!--主体内容-->
				<div class="main-layout-body">
					<!--tab 切换-->
					<div class="layui-tab layui-tab-brief main-layout-tab" lay-filter="tab" lay-allowClose="true">
					  <ul class="layui-tab-title">
					    <li class="layui-this welcome">绘图管理</li>
					  </ul>
					  <div class="layui-tab-content">
					    <div class="layui-tab-item layui-show" style="background: #f5f5f5;">
					    	<!--1-->
					    	<iframe src="draw-list.html" width="100%" height="100%" name="iframe" scrolling="auto" class="iframe" framborder="0"></iframe>
					    	<!--1end-->
					    </div>
					  </div>
					</div>
				</div>
			</div>

		</div>
        <script src="../static/admin/js/jquery-3.3.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			var scope={
				link:'draw-list.html'
			}
			function createDraw() {
				$.get("/user/get",function(data,status){
					console.log(data, status)
				});
				var urlOPen = "/draw";
				window.open(urlOPen);                 //在另外新建窗口中打开窗口
			}
            function logout() {
                window.location.href="login.html";
            }
		</script>
		<script src="../static/admin/layui/layui.js" type="text/javascript" charset="utf-8"></script>
		<script src="../static/admin/js/common.js" type="text/javascript" charset="utf-8"></script>
		<script src="../static/admin/js/main.js" type="text/javascript" charset="utf-8"></script>


	</body>
</html>
